package com.orange.service;

import com.github.pagehelper.PageInfo;
import com.orange.domain.Customer;
import com.orange.dto.CustomerDto;

public interface CustomerService{


    int deleteByPrimaryKey(Integer id);

    int insert(Customer record);

    int insertSelective(Customer record);

    Customer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKey(Customer record);

    PageInfo<Customer> queryCustomerByPage(CustomerDto customerDto);

    int changeCustomerUser(Integer userId, Integer[] customerIds);
}
